package com.xuxueli.commontdemo.service;
import com.xuxueli.commontdemo.entity.User;
import com.xuxueli.commontdemo.mapper.UserMapper;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

@Service
public class UserService {

    @Resource
    UserMapper userMapper;

    public User findById(Long id){
        return userMapper.findById(id);
    }


}
